package com.yingran.beiqi.activity

import android.os.Bundle
import com.yingran.beiqi.R
import com.yingran.common.CommonBaseActivity

open class BaseActivity : CommonBaseActivity() {
    override fun titleType(): Title {
        return super.titleType()
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        headBar.setBackgroundResource(R.drawable.shape_headbar)
        headBar.setLeftIcon(R.drawable.icon_back_white) {
            onBackPressed()
        }
    }
}